/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, {Component} from 'react';
import {Provider} from 'react-redux'
import getRouter from '../base/Router';
import store from "../store"

export default class App extends Component<{}> {
    constructor(props) {
        super(props);
        this.state = {
            store: store,
        };
    }

    render() {
        return (
            <Provider store={this.state.store}>
                {getRouter()}
            </Provider>
        );
    }
}

